
%\hms{} can import meshes, but if generate simple meshes with rectangular cells
\hms{}
%is most efficient when operating on orthogonal meshes,
%and can generate such 
%meshes from settings in the \mintinline{ini}|[meshGen]| section.
can generate uniform rectangular meshes
from settings in
\texttt{hms.ini}:

\begin{minted}{ini}
[mesh]
importMesh=true
format=hms

[meshGen]
; e.g. for specifying mesh size and cell size
useCellCount=false
useCellSize=true
; cell size [m]
cellSize=0.5, 0.5
; mesh size [m]
meshSize=100 50
; coordinates of bottom left corner [m]
origin= 0, 0
\end{minted}

\newpage

\begin{minted}{ini}
; boundary conditions are set per patch
addBoundaryPatches=true
; if set to true, this creates the patches
; "bottom", "left", "right" and "top"
useStandardBoundaryPatches=true
; otherwise, set the number of patches
; and create a section for each.
nBoundaryPatches=1

[boundaryPatch1]
name=allAround
; x-y-coordinates of first and last vertex
beg=0 0
end=0, 0
clockwise=false
\end{minted}

On structured meshes, boundary patches are split at corners.
\newpage